<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<%--
  Created by IntelliJ IDEA.
  User: gz
  Date: 2025/03/21
  Time: 16:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h3>购买页面</h3>
<form action="user/buy" method="post">
  购买人:<input name="username" type="text"> <br>
  购买量:<input type="text" name="num"> <br>
  <input type="submit" value="购买">
</form>

<h1>演示params的使用</h1>
<a href="user/find?bookId=100">查询书籍</a>

<h1>占位符的演示</h1>
<a href="user/reg/kristina/100">占位符的演示</a>

<h1>电脑信息(homework1)</h1>
<form action="computer/reg">
    品牌:<input name="brand" type="text"> <br>
    价格:<input type="text" name="price"> <br>
    数量:<input type="text" name="num"> <br>
    <input type="submit" value="提交">
</form>
</body>
</html>
